import { BrowserRouter as Router, Route, Routes} from "react-router-dom";
import AccountPermissions from './pages/account-permissions'
import CreatorPage from './pages/creator';
import HomePage from './pages/home';
import ListPage from './pages/list';
import './App.css'

function App() {
  // const [count, setCount] = useState(0)

  return (
    <Router>
      <Routes>
        <Route path="/" element={<AccountPermissions />}>
          <Route path="/home" element={<HomePage />} />
          <Route path="/list" element={<ListPage />} />
          <Route path="/creator" element={<CreatorPage />} />
        </Route>
      </Routes>      
    </Router>
  )
}

export default App

/**
 * import reactLogo from './assets/react.svg'
 * <img src={reactLogo} className="logo react" alt="React logo" /> 
 * 
 * 
 */
